﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NovKaderPedagoski.aspx.cs" Inherits="Sio.Mdm.Web.Organizacija.NovKaderPedagoski" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>SIO - MDM :: Organizacija : Nov pedagoški kader</title>
</head>
<body>
<form id="form1" runat="server">
	<ext:ResourceManager ID="ResourceManager1" runat="server" />

	<ext:Store runat="server" ID="StoreDelovnaMesta">
    <Reader>
      <ext:JsonReader IDProperty="DelovnoMestoId">
        <Fields>
            <ext:RecordField Name="DelovnoMestoId" Type="Int" />
            <ext:RecordField Name="Naziv" Type="String" />      
        </Fields>
      </ext:JsonReader>
    </Reader>
  </ext:Store>
	<ext:Store runat="server" ID="StoreNaziviUciteljev">
    <Reader>
      <ext:JsonReader IDProperty="NazivUciteljaId">
        <Fields>
            <ext:RecordField Name="NazivUciteljaId" Type="Int" />
            <ext:RecordField Name="Naziv" Type="String" />      
        </Fields>
      </ext:JsonReader>
    </Reader>
  </ext:Store>
  <ext:Store ID="StorePoklici" runat="server">
			<Reader>
				<ext:JsonReader IDProperty="PoklicId">
					<Fields>
						<ext:RecordField Name="PoklicId" Type="Int" />
						<ext:RecordField Name="Naziv" Type="String" />
					</Fields>
				</ext:JsonReader>
			</Reader>
		</ext:Store>

	<ext:Viewport ID="Viewport1" runat="server" Layout="Fit">
	<Content>		
		<ext:FormPanel runat="server" ID="addKader" Layout="border">
		<Items>
			<ext:FieldSet ID="FieldSet1" runat="server" Region=Center Title="Osnovni podatki" AutoHeight=true Margins="5 5 0 5" Padding=15>
					<Items>
						<ext:Panel ID="Panel1" runat=server Border=false BodyStyle="background: none;">
						<Content>
							<ext:TableLayout ID="TableLayout1" runat="server" Columns="3" >
							<Cells>
								<ext:Cell CellCls="fieldspace">
									<ext:TextField ID="inputIme" runat="server" LabelAlign=Top FieldLabel="Ime" AnchorHorizontal="95%"  Width=100
										AllowBlank="false" MinLength="2" MinLengthText="Vpišite ime" BlankText="Vpišite ime" /></ext:Cell>
							</Cells>
							<Cells>
								<ext:Cell CellCls="fieldspace">
									<ext:TextField ID="inputPriimek" runat="server" LabelAlign=Top FieldLabel="Priimek" AnchorHorizontal="95%" Width=100
										AllowBlank="false" MinLength="2" MinLengthText="Vpišite priimek" BlankText="Vpišite priimek" /></ext:Cell>
							</Cells>
							<Cells>
								<ext:Cell CellCls="fieldspace"><ext:NumberField ID="inputDs" runat="server" LabelAlign=Top FieldLabel="Davčna številka" AnchorHorizontal="95%" Width=100 
									AllowBlank="false"  MinLength="8" MaxLength="8" MinLengthText="Vpišite davčno številko" BlankText="Vpišite davčno številko" /></ext:Cell>
							</Cells>
							</ext:TableLayout>
						</Content>
						</ext:Panel>
						
					<ext:Panel ID="PanelStevilke" runat=server Border=false BodyStyle="background: none;">
						<Content>
						<ext:TableLayout ID="TableLayout3" runat="server" Columns="3" >
						<Cells>						
						<ext:Cell CellCls="fieldspace">
							<ext:ComboBox ID="cbDelovnaMesta" StoreID="StoreDelovnaMesta" DisplayField="Naziv"  ValueField="DelovnoMestoId"
								FieldLabel="Delovno mesto" LabelAlign="Top" runat="server" Editable="false"	SelectOnFocus="true" >
							</ext:ComboBox>
						</ext:Cell>
						<ext:Cell CellCls="fieldspace">
							<ext:ComboBox ID="cbNaziviUciteljev" StoreID="StoreNaziviUciteljev" DisplayField="Naziv"  ValueField="NazivUciteljaId"
								FieldLabel="Naziv učitelja" LabelAlign="Top" runat="server" Editable="false"	SelectOnFocus="true"  />
						</ext:Cell>
						<ext:Cell CellCls="fieldspace">
							<ext:ComboBox ID="cbPoklic" StoreID="StorePoklici" DisplayField="Naziv"  ValueField="PoklicId"
								FieldLabel="Poklic" LabelAlign="Top" runat="server" Editable="false"	SelectOnFocus="true"  />
						</ext:Cell>
						</Cells>
						</ext:TableLayout>
						</Content>
						</ext:Panel>
					</Items>
				</ext:FieldSet>		
		</Items>
		</ext:FormPanel>
	</Content>
	</ext:Viewport>
	</form>
</body>
</html>
